<!DOCTYPE html>
<html lang="es">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta name="description" content="Karina Kreth Administracion">
        <meta name="author" content="Araujo-Baico">

        <title>Karina Kreth :: Admin</title>

        <link rel="icon" href="{{ URL::asset('assets/img/square.ico') }}"/>
        
    @section('css-header')
    {{-- HTML::style('//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css') --}}
    {{ HTML::style('assets/admin/css/bootstrap.min.css') }}
    {{ HTML::style('assets/admin/css/ladda-themeless.min.css') }}
    {{ HTML::style('assets/admin/css/styles.css') }}
    @show
    </head>
    <body>
                <!-- VENTANA MODAL -->
        <div id="myModal" class="modal fade">
            <div class="modal-dialog">
                <div class="modal-content">
                </div>
                <!-- /.modal-content -->
            </div>
            <!-- /.modal-dialog -->
        </div>
        <!-- Event modal -->

        <div class="navbar navbar-inverse navbar-static-top" role="navigation">
            <div class="container">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">
                        <span class="sr-only">Toggle navigation</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    {{ HTML::link('/', 'Karina Kreth',['target' => '_blank', 'class'=>'navbar-brand']) }}
                </div>
                <div class="navbar-collapse collapse">
                    <ul class="nav navbar-nav">
                        <li class="{{ HTML::activeClass (['escritorio']) }}"><a href="{{ URL::to('admin/escritorio') }}">Escritorio</a></li>
                    </ul>
                    <ul class="nav navbar-nav">
                        <li class="dropdown {{ HTML::activeClass (['relatos', 'tagrels']) }}">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">Relatos <span class="caret"></span></a>
                            <ul class="dropdown-menu" role="menu">
                                <li><a href="{{ URL::to('admin/relatos') }}">Ver todos</a></li>
                                <li><a href="{{ URL::to('admin/relatos/create') }}">Crear nuevo</a></li>
                                <li class="divider"></li>
                                <li class="dropdown-header">Categor&iacute;as</li>
                                <li><a href="{{ URL::to('admin/tagrels') }}">Ver todas</a></li>
                                <li><a href="{{ URL::to('admin/tagrels/create') }}">Crear nueva</a></li>
                            </ul>
                        </li>
                        <li class="dropdown {{ HTML::activeClass (['objetos', 'tagobjs']) }}">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">Objetos <span class="caret"></span></a>
                            <ul class="dropdown-menu" role="menu">
                                <li><a href="{{ URL::to('admin/objetos') }}">Ver todos</a></li>
                                <li><a href="{{ URL::to('admin/objetos/create') }}">Crear nuevo</a></li>
                                <li class="divider"></li>
                                <li class="dropdown-header">Categor&iacute;as</li>
                                <li><a href="{{ URL::to('admin/tagobjs') }}">Ver todas</a></li>
                                <li><a href="{{ URL::to('admin/tagobjs/create') }}">Crear nueva</a></li>
                            </ul>
                        </li>
                        <li class="dropdown {{ HTML::activeClass (['apartments']) }}">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">Apartments <span class="caret"></span></a>
                            <ul class="dropdown-menu" role="menu">
                                <li><a href="{{ URL::to('admin/apartments') }}">Ver todos</a></li>
                                <li><a href="{{ URL::to('admin/apartments/create') }}">Crear nuevo</a></li>
                            </ul>
                        </li>
                        <li class="dropdown {{ HTML::activeClass (['pages']) }}">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">Páginas <span class="caret"></span></a>
                            <ul class="dropdown-menu" role="menu">
                                <li>{{ HTML::link('admin/pages', 'Ver todos') }}</li>
                            </ul>
                        </li>
                    </ul>
                    <ul class="nav navbar-nav navbar-right">
                        <li><a href="{{ URL::to('logout') }}">Logout {{Auth::user()->user}}</a></li>
                    </ul>
                </div>
            </div>
        </div>
           

        <div class="container">
            @yield('content')
        </div>
        
        <div class="footer">
            <div class="container">
                <p class="text-muted"><small>Estudio Duplex + Alex Baico | 2014</small></p>
            </div>
        </div>
        @section('js-footer')
        {{-- HTML::script('//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js') --}}
        {{ HTML::script('assets/admin/js/jquery.min.js') }}
        {{-- HTML::script('//ajax.googleapis.com/ajax/libs/jqueryui/1.11.1/jquery-ui.min.js') --}}
        {{ HTML::script('assets/admin/js/jquery-ui.min.js') }}
        {{-- HTML::script('//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js') --}}
        {{ HTML::script('assets/admin/js/bootstrap.min.js') }}
        {{ HTML::script('assets/admin/js/spin.min.js') }}
        {{ HTML::script('assets/admin/js/ladda.min.js') }}
        @show
    </body>
</html>